var mysql = require("mysql");
var con = mysql.createConnection({
  host: "localhost",
  user: "root",
  password: "ywj809",
});

con.connect(function (err) {
  if (err) throw err;
  console.log("success connect!");
  con.query(sql, function (err, res) {
    if (err) throw err;
    console.log("Result:" + res);
  });
});
